package net.projecteulrt.util;

public class Prime {
	
	/**
	 * @param testNumber - check if the testNumber is the prime number
	 * @return true if the testNumber is prime number or false if not is the prime number
	 */
	public boolean isPrime(long testNumber) {
		for (int i = 2; i < testNumber; i++) {
			if(testNumber % i == 0) {
				return false;
			}
		}
		return true;
	}
}
